package com.example.blog.dto.userInfo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class AdminSelectUserInfoDto {
    private String condition;
    private Integer types;
    @Min( value = 1,message = "下标错误" )
    @NotNull(message = "下标不能为空")
    private Integer index; //第几页
    private String dateTime; //注册时间
    @Min( value = 10,message = "下标错误" )
    @Max( value = 30,message = "下标错误" )
    private Integer page; //每页显示数
    private Integer sortBy;//积分排序方式
}
